package com.ztgf.message.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/*
 *
 * 后台管理系统服务消息列表VO
 * */
@Data
public class MessageAnnouncementPageVO implements Serializable {


    @ApiModelProperty(value = "编号")
    private Long id;

    @ApiModelProperty(value = "消息标题")
    private String title;

    @ApiModelProperty(value = "发布时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "发布人员")
    private String sendName;

    @ApiModelProperty(value = "接收对象")
    private String companyName;

    @ApiModelProperty(value = "分组id")
    private Long gpId;

    @ApiModelProperty(value = "接收对象类型")
    private String sendTo;

    @ApiModelProperty(value = "消息内容")
    private String content;
}
